﻿Imports System.Web
Imports System.ComponentModel
Imports System.ServiceModel

Namespace DotNetNuke.Modules.IWebCF

    <MessageContract()> _
    Public Class CreateUserRequest
        Private _header As New IWebAuthenticationHeader

        Private _Username As String
        Private _FirstName As String
        Private _LastName As String
        Private _DisplayName As String
        Private _Email As String
        Private _password As String

        <MessageHeader()> _
        Public Property Header() As IWebAuthenticationHeader
            Get
                Return Me._header
            End Get
            Set(ByVal value As IWebAuthenticationHeader)
                Me._header = value
            End Set
        End Property

        <MessageBodyMember()> _
        Public Property DisplayName() As String
            Get
                Return _DisplayName
            End Get
            Set(ByVal value As String)
                _DisplayName = value
            End Set
        End Property
        <MessageBodyMember()> _
        Public Property Email() As String
            Get
                Return _Email
            End Get
            Set(ByVal value As String)
                _Email = value
            End Set
        End Property
        <MessageBodyMember()> _
        Public Property FirstName() As String
            Get
                Return _FirstName
            End Get
            Set(ByVal value As String)
                _FirstName = value
            End Set
        End Property
        <MessageBodyMember()> _
        Public Property LastName() As String
            Get
                Return _LastName
            End Get
            Set(ByVal value As String)
                _LastName = value
            End Set
        End Property
        <MessageBodyMember()> _
        Public Property Password() As String
            Get
                Return _password
            End Get
            Set(ByVal value As String)
                _password = value
            End Set
        End Property
        <MessageBodyMember()> _
        Public Property Username() As String
            Get
                Return _Username
            End Get
            Set(ByVal value As String)
                _Username = value
            End Set
        End Property

    End Class

End Namespace